package cc.greencat.gcmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 专题商品
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:49:34
 */
@TableName("home_subject_spu")
public class HomeSubjectSpuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 专题名字
	 */
	private String name;
	/**
	 * 专题id
	 */
	private Long subjectId;
	/**
	 * spu_id
	 */
	private Long spuId;
	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 专题名字
	 */
    public void setName(String name){
        this.name = name;
    }
    /**
	 * get 专题名字
	 */
    public String getName(){
        return this.name;
    }
	/**
	 * set 专题id
	 */
    public void setSubjectId(Long subjectId){
        this.subjectId = subjectId;
    }
    /**
	 * get 专题id
	 */
    public Long getSubjectId(){
        return this.subjectId;
    }
	/**
	 * set spu_id
	 */
    public void setSpuId(Long spuId){
        this.spuId = spuId;
    }
    /**
	 * get spu_id
	 */
    public Long getSpuId(){
        return this.spuId;
    }
	/**
	 * set 排序
	 */
    public void setSort(Integer sort){
        this.sort = sort;
    }
    /**
	 * get 排序
	 */
    public Integer getSort(){
        return this.sort;
    }

}
